//
//  AcWallCollectionViewCell.m
//  ZiJinLian
//
//  Created by 震霄 张 on 2018/4/5.
//  Copyright © 2018年 lzy. All rights reserved.
//

#import "AcWallCollectionViewCell.h"

@interface AcWallCollectionViewCell()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *numLabel;

@end
@implementation AcWallCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setModel:(ActivityWallListModel *)model
{
	_model = model;
	[self.iconView sd_setImageWithURL:[NSURL URLWithString:model.image] placeholderImage:[UIImage imageNamed:@"nor"]];
	self.nameLabel.text = model.name;
	self.numLabel.text = [NSString stringWithFormat:@"供位: %ld/%ld",model.soldCount,model.total];
}

@end
